Skip to main content

ListContourPlot

Wolfram Kernel
Execution environment

A list version of ContourPlot

Example

Generate contours from an array of heights

ListContourPlot[Table[Sin[i + j^2], {i, 0, 3, 0.1}, {j, 0, 3, 0.1}]]

Or give explicit x,y,zx,y,z coordinates for the data

data = Table[{x = RandomReal[{-2, 2}], y = RandomReal[{-2, 2}], Sin[x y]}, {1000}];
ListContourPlot[data]